package com.flyoil.petromp.entity.entity_statics;

import com.flyoil.petromp.base.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/12/4 0004.
 * 统计模块的返回数据
 */

public class StaticsDataEntity extends BaseEntity {

    /**
     * data : {"timeLine":["2017-11-04","2017-11-05","2017-11-06","2017-11-07","2017-11-08","2017-11-09","2017-11-10","2017-11-11","2017-11-12","2017-11-13","2017-11-14","2017-11-15","2017-11-16","2017-11-17","2017-11-18","2017-11-19","2017-11-20","2017-11-21","2017-11-22","2017-11-23","2017-11-24","2017-11-25","2017-11-26","2017-11-27","2017-11-28","2017-11-29","2017-11-30","2017-12-01","2017-12-02","2017-12-03"],"series":[{"label":"技术部","data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<String> timeLine;
        private List<SeriesBean> series;

        public List<String> getTimeLine() {
            return timeLine;
        }

        public void setTimeLine(List<String> timeLine) {
            this.timeLine = timeLine;
        }

        public List<SeriesBean> getSeries() {
            return series;
        }

        public void setSeries(List<SeriesBean> series) {
            this.series = series;
        }

        public static class SeriesBean {
            /**
             * label : 技术部
             * data : [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
             */

            private String label;
            private List<Integer> data;

            public String getLabel() {
                return label;
            }

            public void setLabel(String label) {
                this.label = label;
            }

            public List<Integer> getData() {
                return data;
            }

            public void setData(List<Integer> data) {
                this.data = data;
            }
        }
    }
}
